package com.github.beansoft.jadx.gui.idea;

public class ActionResInjector {
    /**
     * 获取Action文本本地化文案的快捷方法.
     * @param actionId
     * @return
     */
    public static String text(String actionId) {
        return JadxGuiIdeaActionBundle.message("action." + actionId + ".text");
    }

    /**
     * 获取Action说明本地化文案的快捷方法. action.xxx.description
     * @param actionId
     * @return
     */
    public static String desc(String actionId) {
        return JadxGuiIdeaActionBundle.message("action." + actionId + ".description");
    }
}
